package thread;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:DELL
 * Date:2025-01-11
 * Time:23:47
 */
public class Demo3 {
    public static void main(String[] args) throws InterruptedException {
        long beg=System.currentTimeMillis();
        Thread.sleep(1000);
        long end=System.currentTimeMillis();
        System.out.println("时间："+(end-beg)+"ms");
    }
}
